﻿<UserControl x:Class="Lotto.Core.LotteryNumberCtrl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:sd="clr-namespace:SpinDotters.Core;assembly=SpinDotters.Core"  
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="340" d:DesignWidth="340">
    
    <Grid x:Name="LayoutRoot">
        <Grid.Clip>
            <EllipseGeometry x:Name="ellipseGeometry" RadiusX="145" RadiusY="145" Center="170,170" />
        </Grid.Clip>
        <sd:DomainUpDown x:Name="upDown"
                                 Background="{Binding BallBrush}"
                                 ReadOnly="True"
                                 AnimationTime="5000"
                                 Margin="5">
            <Image Source="Images/euro.png" />
        </sd:DomainUpDown>
        <Ellipse>
            <Ellipse.Fill>
                <RadialGradientBrush>
                    <GradientStop Color="#00000000" Offset="0" />
                    <GradientStop Color="#88000000" Offset="1" />
                </RadialGradientBrush>
            </Ellipse.Fill>
        </Ellipse>
    </Grid>
</UserControl>
